class GetOrgInfoEntity {
  int code;
  Data data;
  String message;

  GetOrgInfoEntity({
    this.code,
    this.data,
    this.message});

  GetOrgInfoEntity.fromJson(dynamic json) {
    code = json["code"];
    data = json["data"] != null ? Data.fromJson(json["data"]) : null;
    message = json["message"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = code;
    if (data != null) {
      map["data"] = data.toJson();
    }
    map["message"] = message;
    return map;
  }

}

class GetOrgInfosEntity {
  int code;
  List<Data> data;
  String message;

  GetOrgInfosEntity({
    this.code,
    this.data,
    this.message});

  GetOrgInfosEntity.fromJson(dynamic json) {
    code = json["code"];
    data = json["data"] != null ? (json["data"] as List).map((element) =>
        Data.fromJson(element)).toList() : [];
    message = json["message"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = code;
    if (data != null) {
      map["data"] = data.map((v) => v.toJson()).toList();
    }
    map["message"] = message;
    return map;
  }

}

class Data {
  String masterTel;
  String addTime;
  String city;
  String cityCode;
  String validDate;
  String addUser;
  String latitude;
  String regDate;
  String contactMan;
  String contactTel;
  String photoUrl;
  int orgTypeID;
  int isDisable;
  String province;
  String validDateBeg;
  int natureID;
  String longitude;
  String profession;
  String area;
  String hospitalGrade;
  String address;
  String orgName;
  String servicePhone;
  String provinceCode;
  String natureName;
  String keyID;
  String orgID;
  String hospitalMaster;
  String adminName;
  String photoFileID;
  String areaCode;
  String adminPhone;
  String hospitalLevel;
  int createAccountStatus;
  String validDateEnd;

  Data({
    this.masterTel,
    this.addTime,
    this.city,
    this.cityCode,
    this.validDate,
    this.addUser,
    this.latitude,
    this.regDate,
    this.contactMan,
    this.contactTel,
    this.photoUrl,
    this.orgTypeID,
    this.isDisable,
    this.province,
    this.validDateBeg,
    this.natureID,
    this.longitude,
    this.profession,
    this.area,
    this.hospitalGrade,
    this.address,
    this.orgName,
    this.servicePhone,
    this.provinceCode,
    this.natureName,
    this.keyID,
    this.orgID,
    this.hospitalMaster,
    this.adminName,
    this.photoFileID,
    this.areaCode,
    this.adminPhone,
    this.hospitalLevel,
    this.createAccountStatus,
    this.validDateEnd});

  Data.fromJson(dynamic json) {
    masterTel = json["masterTel"];
    addTime = json["addTime"];
    city = json["city"];
    cityCode = json["cityCode"];
    validDate = json["validDate"];
    addUser = json["addUser"];
    latitude = json["latitude"];
    regDate = json["regDate"];
    contactMan = json["contactMan"];
    contactTel = json["contactTel"];
    photoUrl = json["photoUrl"];
    orgTypeID = json["orgTypeID"];
    isDisable = json["isDisable"];
    province = json["province"];
    validDateBeg = json["validDateBeg"];
    natureID = json["natureID"];
    longitude = json["longitude"];
    profession = json["profession"];
    area = json["area"];
    hospitalGrade = json["hospitalGrade"];
    address = json["address"];
    orgName = json["orgName"];
    servicePhone = json["servicePhone"];
    provinceCode = json["provinceCode"];
    natureName = json["natureName"];
    keyID = json["keyID"];
    orgID = json["orgID"];
    hospitalMaster = json["hospitalMaster"];
    adminName = json["adminName"];
    photoFileID = json["photoFileID"];
    areaCode = json["areaCode"];
    adminPhone = json["adminPhone"];
    hospitalLevel = json["hospitalLevel"];
    createAccountStatus = json["createAccountStatus"];
    validDateEnd = json["validDateEnd"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["masterTel"] = masterTel;
    map["addTime"] = addTime;
    map["city"] = city;
    map["cityCode"] = cityCode;
    map["validDate"] = validDate;
    map["addUser"] = addUser;
    map["latitude"] = latitude;
    map["regDate"] = regDate;
    map["contactMan"] = contactMan;
    map["contactTel"] = contactTel;
    map["photoUrl"] = photoUrl;
    map["orgTypeID"] = orgTypeID;
    map["isDisable"] = isDisable;
    map["province"] = province;
    map["validDateBeg"] = validDateBeg;
    map["natureID"] = natureID;
    map["longitude"] = longitude;
    map["profession"] = profession;
    map["area"] = area;
    map["hospitalGrade"] = hospitalGrade;
    map["address"] = address;
    map["orgName"] = orgName;
    map["servicePhone"] = servicePhone;
    map["provinceCode"] = provinceCode;
    map["natureName"] = natureName;
    map["keyID"] = keyID;
    map["orgID"] = orgID;
    map["hospitalMaster"] = hospitalMaster;
    map["adminName"] = adminName;
    map["photoFileID"] = photoFileID;
    map["areaCode"] = areaCode;
    map["adminPhone"] = adminPhone;
    map["hospitalLevel"] = hospitalLevel;
    map["createAccountStatus"] = createAccountStatus;
    map["validDateEnd"] = validDateEnd;
    return map;
  }

}